Assignment 5: Replacing a