Trying to move more complexity into segment.py