pass the original value to the filter function