added index_ts, useful for caching.