Added console.log and html table snippet