more smartswitch formatting