minor re-formatting
updates
Capture current state.
updates
Updates
updates
Move some decision points in function context.