Exercise 17: Extra Credit 2 & 3