create a model for the component to render