changes from section 5 exercises