Removed i statement for ED