struct is set by steps

1)simpled ui
2)support json