added simplified subclass with @classmethod example