Wiring together some of query form builder