using base class (Component) is better