added stopwatch stuff to measure upload speed