could you please explain why this function is exported and how it is used (failed to find it in the spec)