replace setStarts with setLabels