public boolean pickAndExecuteAnAction() {
		synchronized(orders){
		for (CookOrder order: orders){
			if(order.s==OrderState.cooked){
				ServeOrder(order);
				return true;
			}
			if(order.s==OrderState.pending){
				TryToCookOrder(order);
				return true;
			}
		}
		}
		/*synchronized(marketOrders){
		for (MarketOrder marketOrder : marketOrders){
			if(marketOrder.state == MarketOrderState.ready){
				RefillInventory(marketOrder);
				return true;
			}
		}
		}*/
		
		synchronized(revolvingStand){
			if(!revolvingStand.isEmpty()){
			for (CookOrder order : revolvingStand){
				orders.add(order);
				revolvingStand.remove(order);
				return true;
			}
			}
		}
		
		if(!cookGui.atHome()){
			cookGui.DoGoHome();
		}
		
		return false;
	}