Messing with wrapper. Still doesn't work. Omw to fix segfaults