add recordDeposit method