finished migration from c to cpp