Implemented basic search functionality