use a bool for testnet