add validation field to orders delivery function