mode base on view