Add logger and reset method refactor