fixed a no-no, you should never return a pointer to a stack variable. It works, but only if you're lucky enough to have nothing get written to that memory between the time it gets allocated and the time you try to use it after the return statement