Changed variable names for readbility, fixed PEP8 compliance