Finish exercise 1.2.4