counter works partly