add get_topology