support random term lookup