improve main view