for clarity, changing main_view to app_view