init upload
slight style tweak