creating reset()