Modularizing reset method