changed the definition of "segment"