basically bankswitch-detection