reset function started