filter by segment type