converted array to hash for .tie_break