Finally got it work with the new class - new for was the concept of initialization lists in c++ :)