joining books with categories