Reuse run state code