refactor receipts into its own class.