Simplify view logic