use bool for flags