improved Super example by adding constructors with output