Changed the deposit/withdrawal functions