renamed: deposit function renamed to makeDeposit