Working calling CPP example