minor changes to epp()