pep8 and move data to after function