completed new style numerals code