add reset method