Refactoring of fucntion doesnthaveNumber
another func
Factoring functions
last refactoring