Strip function added, replace function need to be finished