added PEP8 linted version, (cosmetic differences)