move state into SaveSession()