add index to profiling