started working on search functionality