moving ranges to code and running validation