add support for bignum so more flags can be used at once