style pep8 code adaptation