switch from a list to dict to hopefully use config.items()