creating some randomization to the terms that are returned