Updated example with inline filtering