so you can avoid this loop by doing an http://docs.python.org/2/library/stdtypes.html#set.update (make sure this is a set so you can't get dupes)