typo in docstring and pep8 stuff