getInstancePointer - this is experimental