changed search query statement