use define to switch.