added counters to know if stuff iss working