@Override
		public void run() {
			boolean done = false;
			while (!done) {
				try {
					Transaction cur = queue.take();
					if (cur == nullTrans) {
						done = true;
					} else {
						accounts.get(cur.getSrcId()).dec(cur.getAmount());
						accounts.get(cur.getDesId()).inc(cur.getAmount());
					}
				} catch (InterruptedException e) {
					// TODO Auto-generated catch block
				}
			}
			System.out.println(Thread.currentThread().getName() + " is done.");
			latch.countDown();
		}