made changes to dictionary, list, and variable names.