use Logo's queryObj instead of the object definition