add basic search functionality