Modified variable names to follow PEP8 and removed semicolon