attempt at setting model state.