Define orders variable as local instead of global