add intellij support
do querying