The order of tuples in ListofTuples is not guaranteed so you cant do a match on the first element or something like that.