support querying for object instance