public Content getContent(String name){
        int i = 0;
        while(i < content.size()){
            if(content.get(i).getName().equals(name))return content.get(i);
            i++;
            
        }
        return null;
    }