reformat code to pep8