adding delete button and search engine