native query support, issue #83