remember last digit