created a book model