Further C++ Implementation