Less lines, same finctional. :) Why do you want to split search call and query?