more work on branches. now need to write branch fixer code. some fixes to the big tables