before add_book feature