add TLS methods