rename and use get_network