added extra methods to Order class