run_sp_mode