reseting code