adjustments to reset counter