updated comments as per PEP8 guidelines