pep8ified docstring
code cleanup, got rid of unused variable