updated pointers.c