finished the intermediate section