adding flag for TLS