create program for individual filtering