added ttl option