main_sp_discoverer