branch sheet added, junk code in main