How can I use the buffer function in filters? I want to do something like this