finished topology implementation