yeah that's better - your previous version with isdigit() was a regression