refactoring validators
add is_num and is_blank_str function
refactoring
refactoring
fix bug and refactoring
refactoring and fix bug
refactoring
refactoring