adding the counters