This function needs a docstring comment describing what it does and what it returns.