TranslationFinder(Elements subSectionTitles, Document document) {

        Elements transArray = document.getElementsByAttributeValueContaining("data-destinationLanguage", "אנגלית");

        this.JSONTransArray = new JSONArray();
        for (Element translation : transArray) {
            this.JSONTransArray.put(translation.text().toLowerCase());
        }

        if (this.JSONTransArray.length() != 0) {
            return;
        }




        for (Element h3 : subSectionTitles) {
            if (h3.text().equals("תרגום") == true) {
                Element translation = h3.nextElementSibling();
                Element englishEntry = null;

                if (translation == null) {
                    //    System.out.println("No translation for " + article.getTitle());
                    return;
                }
                for (Element li : translation.getElementsByTag("li")) {
                    if (li.text().contains("אנגלית") == true) {
                        englishEntry = li;
                        break;
                    }
                }
                if (englishEntry == null) {
                    return;
                }
                String englishEntryText = englishEntry.text();
                englishEntryText = englishEntryText.replaceAll("אנגלית:", "");
                englishEntryText = englishEntryText.replaceAll(" ", "");

                String[] strTransArray = englishEntryText.split("\\|");
                for (String s : strTransArray) {
                    s = s.toLowerCase();
                }
                JSONTransArray = new JSONArray(strTransArray);

            }
        }
        // Uncomment to find problems
        //if (document.toString().contains("אנגלית") && !found()) {
        //    System.out.println("This may be a problem");
        //}
    }