use more concise logic for converting subsections