Can you add a docstring describing this function?