split up view/controller