adds multiple queries