search functionality and styles