removed superflous reset.