split structure and values