Yeah, his version will also work (and have nicer docstring).