a version of deposit/withdrawl working