allow specification of Mode in switch table entries