Changed a console.log into a console.error
Updated the way we deal with data