Changed reset method