add ttl in milliseconds