added cpp syntax support