Added reset check