upload crudely working