add support for default ttl