switch syntax convention