Added the deposit function.