bignum should probably be used instead of parseInt