add book method