started implementing search functionality