Exercise 17 point 4 with struct packaging and prebuilt examples