new sstructure with state.h