added pointer api to example 01