formatted code to pep8 style