reverse back to C++