new helper function Replace()