upload data and console.logs