First part of the second excercise