getting everything back the way it was