changed so only one bool for config since bool got redefined