main_view_setup branch