public ClubSignupPage enterCoachReferral(Boolean value, String coachId) {
	/*
		if (value=false){
		 int cbSize = coachReferral.size();
		 for(int i=0; i < cbSize ; i++ ){
	     String sValue = coachReferral.get(i).getAttribute("value");
	     if (sValue.equalsIgnoreCase("6")){
		 	    	 coachReferral.get(i).click();
			         break;
			         }
			    }
		
		}
	*/
		//boolean bValue = false;
		//bValue = coachReferral.get(0).isSelected();
		try{
		 if(value == true){
			 coachReferral.get(0).click();
				new Select(pleaseSelect).selectByVisibleText("Coach I.D.");
					try{searchCriteria.sendKeys(coachId);
					Log.info("Coach Id provided from Excel is "+ coachId );}
					catch(NullPointerException  e){}
				while (1==1){
					confirmCoach.click();
				if(driver.findElement(By.tagName("body")).getText().contains("Corporate Test"))
					break;
				else if (driver.findElement(By.tagName("body")).getText().contains("not found"))
					{
					System.out.println("Invalid Coach Provided, it will be selected by lead wheel now");
					//driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);

					    WebDriverWait wait = new WebDriverWait(driver, 15);
					    WebElement element= driver.findElement(By.id("_TBBSIGNUP_WAR_signuprefactorportlet_coachErrorMessageDiv"));
					    wait.until(ExpectedConditions.visibilityOf(element));   // 	presenceOfElementLocated
					//driver.manage().timeouts().pageLoadTimeout(25, SECONDS);
					coachReferral.get(1).click();
					break;
					}
				}
						 
		 }if (value == false)
			 coachReferral.get(1).click();
		 }
		 catch(NullPointerException  e){}
		 
		return this;
	}