initialization of the resets