trying to fix the C++