search process can now use multiple queries