added custom ttl, and reordered