first working client and query interfaces