implement segment separator