last commit improved performence a ton, but heres a more "Correct" version using eq-join.