this is at the size where a ``set`` may be better. if so, suggest creating the set outside of the forloop