adding cpp