Example of a simple filter implementation