Added in docstring, is this useful? If so, is it in the correct place or should it be moved to line 107?