thread for edgelist