first working draft with streaming upload #4