Added one more example with pointers