branch usage is not working currently
various fixes for branch usage; requires sacrifying the legend for branch usage for now