adjusted formatting according to pep8