add typestruct
add typestruct