modify for bidswitch