I renamed segs to serverSegments (i.e. the segments that get pulled from the servers)
and segments is now the list of all segments (cached and non-cached)