book search functionality draft