added route priority feature