import segments