added return from main
replaceString working for one match