rename variables to clarify intent of code