code for tpm site