added query utitlites class