added function searchBooks()