changed reset to a full cycle and commented