added example for isDigit valdiator