the first working version with pushing data to google spreadsheet