move commented out code into docstring