simplify model/view switching