added ttl for entries