add filtering sample