ed and p