modification to sequential find_if_not