Changed the docstring to better represent the intent of the function