adjusted the variable names in parseSections