changed a variable and made file conformant to PEP8