made freshness checking optional