printing key of matched record