making synonyms an array not arraylist