adding the scan receipt feature