added positive and negative counters