redundant segs doesnt work