add order processing draft code