also calculate average transfer rate