add BuildIndex