public void execute(Miner miner){
		   //deposit the gold
		   miner.addToWealth(miner.goldCarried());
		   miner.setGoldCarried(0);
		   System.out.println(miner.getName() + " Depositing gold. Total savings now: " + miner.wealth());

		   //wealthy enough to have a well earned rest?
		   if (miner.wealth() >= Miner.ComfortLevel)
		   {
		     System.out.println(miner.getName() + " WooHoo! Rich enough for now. Back home to mah li'lle lady");
		     miner.getFSM().changeState(GoHomeAndSleepTillRested.getSingleton());      
		   }

		   //otherwise get more gold
		   else 
		   {
		     miner.getFSM().changeState(EnterMineAndDigForNugget.getSingleton());
		   }
	   }