add

add struct related methods