Generic filter prototype