Added privet printName method to base class