initial impl for upload
meging