added the main view