segment seperation