private String step1b (String word){
	
	int lw = word.length();
	int mbefore = 0;


	if(word.endsWith("eed")){
	    if(word.length()>3){
		mbefore = getM(word.substring(0,lw-3));
		if(mbefore>0){
		    word = word.substring(0,lw-1);
			    
		}
	    }
	 
	}else if(word.endsWith("ed")){

	    if(word.length()>2){
		String restED = word.substring(0 , lw-2);
		if(isVowelInStem(restED) ){
		    word = restInStep1b(restED);
		}

	    }

	    
	}else if(word.endsWith("ing")){

	    if(word.length()>3){
		String restING = word.substring(0 , lw-3);
		if(isVowelInStem(restING)){
		    word = restInStep1b(restING);
		}
	
	    }

	}

	return word;

    }