checking continuity counter