This looks ok to me. I think it was supposed to go through the non_unique keys for each line.