moved utilsC and utilsCPP