could do with a docstring, I guess?