added cpp syntax