display_network and display_select functions cleaned