Added thirdPass; still needs vector comparison