Add the callback function to 'book.rb'