added comment to clarify variables