added comment about function