restore arrayByFiltering method