inherit base component