lab6 example pointer