reset method added