Changes to segment()