formatting switch.