Add switch-case, dont work ifSwitchTable