added counter
merged