added option to disable counters