orders now returns [] if orders = nil