inherits is not necessary for subclass