made ValidOrders use the proper return value type. logging errors when sending valid orders