reformat code due to pep8