added comment function