refine
improve url handling & time count