book's example code