save running state  for machine 2