add dl_timeout and comments