Add branch generator