Added range validator