added the end of a section