remember inheritance correctly with constructors