newBook handler