You should make this a set, and maybe change the variable name. You are just using this to track a priority was mapped, right?