Change simple pointer to use pointer to pointer in example