conform to pep8, docs, and other things