validations added to shipment logic