Simple query mechanism