changes to cpp