BROKEN CODE. Makes progress on the Sector logic.