Added a helper function for creating ranges.