example for a filter that take user input