Add the demo code for filter