trying to find 2 nodes of the same type