adding routing metric