added said docstring. fixed.