added comments to counter for branch testing