refactored the book as a subview