testing substructure