edited the receipt class