add branch selector