init upload - a few things still missing