counters calculation done