example program and book