added ED support on the reading side