working upload.sample