Switching to replace

This is instead of my handwritten code.