added pointer example