add process_state