Checked for valid matches before continuing