replaced Range contructions with new version