public static Genre findGenre(String genreName) throws NullPointerException{
		
		Stack<Genre> finderStack = new Stack<Genre>();
		Genre temp;
		
		if(Catalogue.mainGenres.isEmpty()){
			
			return null;			
		}
		
		finderStack.addAll(Catalogue.mainGenres);
		
		while(!finderStack.isEmpty()){
			
			temp = finderStack.pop();	
			
			if(temp.getName().equals(genreName)){				
				return temp;
			}			
			else{
				int i;				
				for(i = 0; i < temp.getChildren().size(); i++){					
					if(temp.getChildren().get(i).hasChildren() == true){						
						finderStack.add((Genre) temp.getChildren().get(i));						
					}					
				}				
			}			
		}				
		return null;
	}