added minViewMode