addition in class "component"