elegant way to produce searchArgs