working upload of data