added functionality for table content is of a book