removed unused counter.