removed print and counters