removed unused Counter object creation