Where is replace coming from?