different inheritance avoiding constructors which lead to crashes