add function InsertFilter to replace AddFilter by using int const to determine filter position