updated output to indicate start/end sections