Added replacement method 3