Updated to adhere to strict PEP8 standards