added QueryHelpers