tweak and add counter