done with main-view