made some deliveryDetails elements optional