removing old changes, so that only the one recent change is left