grammar nits
re-formatted, code is now PEP 8 compliant