a slightly more interesting misuse of pointers