trying to add cpp version