added initial code for receipt model