adding dynamic router