add index stage 0
add index stage final