ran code through autopep8
now mostly pep8 compliant