SMALL CHANGE: Counter added.