console.log the data value received