added date range validator