Updated tarbell with endgame code