use run_state