added inputs for custom counters