I'd use a defaultdict instead. ```from collections import defaultdict``` and then ```new_cell_measures = defaultdict(set)```. That way you can remove the entire `if` block.