working towards having uploads work