added comment in code