add time count in popup