updated to more standard docstring