made C++ nicer