subclass exercises