might be easiest to fall back to managed pointers for now