Moved creation of items under each subsection