some upload stuff and cbor stub