modified filter example to get individual items