public static void addDictionary(Dictionary dictionary) {
        //checken of dictionary param null is
        if (!(dictionary == null)) {
            if (!dictionaryExistsForLanguage(dictionary.getLanguage()))
                dictionaries.add(dictionary);
        }
    }