initial c++ conversions