added comment for anonymous func