implement topology setup