Changed lambda in filter() to static method reference