addes parameter to show the topology