Arraylist<Term>

returned arraylist<String> needed to return ArrayList<Terms>