140612 #2 Added cpp code