Updated demo with an example for ttl