removed caching log & added lifetime