format code to conform to pep8