adding new class on C++ features