minor change to cpp