main view used