Also needs a docstring that explains what it does, because I have no clue.