working InstanceRetrieval