ranges model validation