working demo with filter