updated the docs and ran pep8