finished main view