work on segment dependencies