Exercise 10 & 12 (unfinished)