added comment in function 2