changed all comment from C++ to C style