Adding sections to result array.