format switch mode