added more query interfaces