updated to use native ttl