WIP: now it's segfaulting. This is progress