added support for receipts