used StringBuilder for the receipt