get resume state *after* setting initial variables