Modified version; PEP8 compliant, different var types
Modified version; PEP8 compliant, different var types