adding buffer to filter