set struct function