added in digit and digits_between json check.