before changing codes