ed for p