added comment to exported function