re-introduced the add new book function