Can you please use `index` as a local variable name instead of `temporal_index`?