just for cpp