Extend pointer2 example