add prog3 sample