removed console.log data statement