created base query support

durrrp