private void setAndCheckCodeLength(WebDriver driver){
		
		// dropdown
		WebElement dropDown = driver.findElement(By.xpath("//select[@name='CodeLength']")); // /option[1]
		// options
		WebElement selection1 = driver.findElement(By.xpath("//select[@name='CodeLength']/option["+1 + "]"));
		WebElement selection2 = driver.findElement(By.xpath("//select[@name='CodeLength']/option["+2 + "]"));
		WebElement selection3 = driver.findElement(By.xpath("//select[@name='CodeLength']/option["+3 + "]"));
		
		if (selection1.isDisplayed()){
			dropDown.click();
			selection2.click();
			dropDown.sendKeys(Keys.RETURN);
			boardLength = 6;// should probably just read grid and get board length
		}else if(selection2.isDisplayed()){
			dropDown.click();
			selection3.click();
			dropDown.sendKeys(Keys.RETURN);
		}else if(selection3.isDisplayed()){
			dropDown.click();
			selection1.click();
			dropDown.sendKeys(Keys.RETURN);
		}
	}