protected int lastIndexOf(String value) {
		for (int i = scope.size() - 1; i >= 0; i--) {
			Token s = scope.get(i);
			if (s instanceof WaterMarker) {
				if (value.equals("water")) {
					return i;
				}
			} else if (((DownMarker) s).getName().equals(value)) {
				return i;
			}
		}

		return -1;
	}