Initialize pointers to NULL