wrote create filter entry method