a small pointer example written a few days ago