updated for PEP8 compliance