added logic for more concise numerals