fork of segmenter code, with additional argument of start time for segment