Let's declare pQuery as an internale variable of this method. It does not need to be global.

Also a better name than pQuery ? :)