removed the resetting