testing using class.superclass
added abstract method