Finished ERA implementation