Nitpick: the dictionaries seem unnecessary here.