found where the join logic is in original

added to notes, to look at tomorrow