add the component relate to function