extract indexs