add TLS
make more common random arguments