reformating code for pep-8