apply to sample structure from jui