incorporating view as a component.