save receipt method implemented