rm and edf both