move TTL to set/fetch, rather than a global. More flexibile