forgot why i'd used a dict but it's not needed