public int getRowIdForYearValue(String testYear) {
		int rowId = 0;
		ArrayList<WebElement> elementList = new ArrayList<WebElement>(driver.findElements(byColumnYear));
    	Iterator<WebElement> it = elementList.iterator();
    	WebElement newElement = null;
    	while (it.hasNext()) {
			WebElement el = it.next();
			String val = el.getText();
			if (val.equals(testYear)){
				newElement = el;
			}
		}
    	
    	//get the new row id
    	if (newElement != null) { 
        	WebElement parent = newElement.findElement(By.xpath(".."));
          	rowId = Integer.parseInt(parent.findElement(byColumnId).getText());
    	} else {
          	rowId=0;  //not found
    	}
		return rowId;
	}