getAllOrders() implemented