design main view