add check to ensure that checkCounter is always > 0