change to cpp