pointermagic program for next lesson