added duration to upload