updated to most recent changes
Added PEP 8 rules.