Range generator