Implemented find and replace