adds the `splitRange` functionality