added synchronized for deposit and withdraw ; removed setter for
transactions