createCpp takes multiple arguments