applied 'pep8' recommendations