Extract create_sections for reuse
s/items/subsections/ for clarity