ed-specific stuff