made revisions on receipt.sql