added method to order.rb and corrected make-orders.rb