adjust counters