How to use the value code from the book?