added list filtering capabilities and sample