removed unused function: digitsLastRow