copy data out of the outer table once we find a match