this duplication would go away by always keeping one entry as “the parent” in the list and starting from there