anchor.diff:  
   update_speed(Account, Download, SpeedOrddict, Length) ->
   	TimeMs = date_lib:epoch_hires(),
  -	Timestamps = orddict:fetch_keys(SpeedOrddict),
  -	EarliestTimeMs = list_min(Timestamps),
  -	case TimeMs - EarliestTimeMs of
  -		Diff when Diff < 1000 ->
  +	case orddict:is_empty(SpeedOrddict) of
  +		true ->
   			orddict:store(TimeMs, [{length, Length}], SpeedOrddict);
  -		Diff when Diff >= 1000 ->
  -			ByteCount = calc_byte_sum(SpeedDict:to_list(), 0),
  -			TimeDiff = list_max(Timestamps) - list_min(Timestamps),
  -			case subscriber:alive(Account) of
  -				false ->
  -					orddict:store(TimeMs, [{length, Length}], orddict:new());
  -				SubscriberPid ->
  -					case manager:alive(Account) of
  +		false ->
  +			Timestamps = orddict:fetch_keys(SpeedOrddict),
  +			EarliestTimeMs = list_min(Timestamps),
  +			case TimeMs - EarliestTimeMs of
  +				Diff when Diff < 1000 ->
  +					orddict:store(TimeMs, [{length, Length}], SpeedOrddict);
  +				Diff when Diff >= 1000 ->
  +					ByteCount = calc_byte_sum(SpeedOrddict:to_list(), 0),
  +					Max = list_max(Timestamps),
  +					Min = list_min(Timestamps),
  +					TimeDiff = Max - Min,
  +					case subscriber:alive(Account) of
   						false ->
   							orddict:store(TimeMs, [{length, Length}], orddict:new());
  -						ManagerPid ->
  -							ManagerPid ! {download_progress, [{download, Download}, {speed, ByteCount / TimeDiff}, {progress, ByteCount}]},
  -							orddict:store(TimeMs, [{length, Length}], orddict:new())
  +						SubscriberPid ->
  +							case manager:alive(Account) of
  +								false ->
  +									orddict:store(TimeMs, [{length, Length}], orddict:new());
  +								ManagerPid ->
  +									ManagerPid ! {download_progress, [{download, Download}, {speed, ByteCount / TimeDiff}, {progress, ByteCount}]},
  +									orddict:store(TimeMs, [{length, Length}], orddict:new())
  +							end
   					end
   			end
   	end.
  
positive.code: 			{error, Response}
  	end.
  
  download_file(Download) ->
  	case config:find_first() of
  		undefined ->
  			{error, "Cannot find Config"};
  		Config ->
  			Config:download_directory() ++ Download:file()
  	end.
  
  list_min([H|T]) -> 
  
negative.code: 					download(Account, UpdatedDownload, orddict:new())
  			end;
  		{error, Errors} ->
  			erlang:display({content_disposition, Download})
  	end.