added dictionary for sections and subsections