add index for step 1