removed c++ code