branch magic