added a pointer example