Seems to work, although I have the wrong pointers for some reason... dang