make variable naming consistent across list and dict examples.