how do i filter an array using another array?