added freshness checkings