added receipt functionality