edited main view