basic search functionality works