change array for term