added comments to clarify variables