changed search query variable names to camel cases