refine into structure