added replace method
moved to version 1.0.1