added basic query doc