Added books and if else