add reset of counters