Rename variables for clarity.
Add comments