changes for replacing