Upload-function added, not working yet