rewrite the process, just to upload the images