working on indice variable filter