boxcar: general branch support