Added the parseBook method