add  search  functionality