make logic simpler.
better logging around reset.