Doing the stuff from the book