Changes in c++/oop