allow freshness_threshold to be specified