creating reset