improved console.log of the matches