Derp - passing address of pointer instead of pointer itself