er: rename variables for clarity