replace method only takes three args now
Merge pull request #4 from chekun/patch-1

replace method only takes three args now