added search and replace