add ER and Ez, partial fix to #54