$ 0 0 As a start, try getting rid of all of those NE conditions. Try turning them into EQ with the remaining domain values. Rob