public boolean equals(Object obj)                                    
	  {                                                                                                                              
	    if(obj == this)                                                    
	    return true;                                                                                    
	                                                                                                                                 
	    /* is obj reference null */                                                                                                       
	    if(obj == null)                                                                                 
	    return false;                                                                                                              
	                                                                                                                                 
	    /* Make sure references are of same type */                                                     
	                                                                                                                                 
	    if(!(getClass() == obj.getClass()))                                                             
	    return false;                                                                                   
	    else                                                                                            
	    {                                                                                                                            
	      Ingredient tmp = (Ingredient)obj;                                                                                                
	      if(tmp.name.equalsIgnoreCase(this.name)){	    	  
	       return true;                            
	      }
	      else                                                                                          
	       return false;                                                                                
	    }                                                                                                                            
	  }