almost implement indexing setting UI