adding in comments for clarity about the receipt data structure