program of simulating filters