added cpu and memory counters