comments corrected
updated get_all_adapters()