making main view