Added number range validation