switch components to views
build