check for complete match and print message if so