change to cpp type