practical TEE manual