updated method in PaymentByCash