INM: Final version of Exercise 1