It would be helpful to see a short docstring explaining what this function does.