Added debug statement and forgot to index into match set correctly