use type box to save type info.