search functionality completed