Implemented replacement method