implemented min & max CV filter