add ttl to response