nit can we use `url` here? `index` is harder to read imo.