refactored Pm3Erg to Erg