Implement the reset method