added kernel query support