ed but