How TEE Works