oops, got the dict format backwards