Simplify switch