Save intermediate state
Save intermediate state