refine search functionality, test attempts