Added serverQuery method