defining rangePart