updated branching, added tests
need to confirm correct jump offset!