removed console.log(data) line