Adding reset method