Once again, do we need an array here or can we just use the iterable from getSegments()?