First part of exercise 07