Added variables to order history