it builds some simple queries