wrote filter for finding missing ones