finalyzing routing