PEP8 and working on event creation