upload working
upload working
handle arrays of data