ed segment