added new book functionality