added PEP8 corrections