support list of terms inputs