Added printing for nonmatches as well as matches