Added matching and adding to the DB if not yet in there.