structureEquals created for testing
conflict resolution