added search and delete