Refactored code to comply with PEP-8 standard