added remove search functionality