intermediate non-working version of the upload
upload is working