expired time checking