made it a cpp