bind case adapted from reverted commit c4ea85a93c4857261a34c9b1ebdbff979238b533 -- now only sel2 case remains