added the switch style ability