adding counters