public void act(List<Actor> newActor)
    {
    	refresh++;
    	if (refresh < 20) return;
    	refresh=0;    	

    	int modifier =	maximumGrass- (countRabbits() / dependencies);
    	modifier = (modifier < minimumGrass)? minimumGrass : modifier;
      	if (amountGrass < modifier || (countRabbits() < 1000 && amountGrass < maximumGrass) || amountGrass < minimumGrass)
    	{
			Location l = field.freeAdjacentLocation(location);
			
			//create if there is a nearby empty spot
    		if (l != null)
    		{
    			newActor.add(new Grass(field, l));
    			increase();
    		}
    	}
      	else{
    		reduce();
    		this.isActive(false);
    	}      	
      	
    }