split view from logic