implemented ordinal re-calculator