old code removed and the orders are rendered as links