added comment to code